<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>编辑文章</title>
	<css file='__PUBLIC__/css/arc.css'/>
	<jquery/>
</head>
<body>
	<form action="{|U('save')}" method="post">
        <input type="hidden" name="aid" value="{$field.aid}"/>
        <h2 class='arc_tit'>发表文章</h2>
        <div class='arc_setting'>
            <table class="table2">
                <tr>
                    <th width='10%'>标题</th>
                    <td width='88%'>
                        <input type="text" class="input1" name="title" value='{$field.title}'/>
                        <span class="desc">文章标题不能超过30个字</span>
                    </td>
                </tr>
                <tr>
                    <th>栏目选择</th>
                    <td>
                     	<select name="cid">
                            <option value="选择栏目">选择栏目</option>
                    <list from="$category" name="$n">
                        <if value="$n.cid ==$field.cid">
                            <option value="{$n.cid}" selected="selected">{$n.html}{$n.catname}</option>
                        <else>
                            <option value="{$n.cid}">{$n.html}{$n.catname}</option>
                        </if>
                    </list>
                        </select>
                    </td>
                </tr>
                <tr>
                   	<th>关键字</th>
                    <td>
	                    <input type="text" class="input1" name="keywords" value='{$field.keywords}'/>
	                    <span class="desc">关键字用于搜索引擎优化</span>
                    </td>
                </tr>
                <tr>
                   	<th>缩略图</th>
                    <td>
                    	<upload name="thumbimg" data='{$thumbimg}'/>
                    </td>
                </tr>
                <tr>
                 	<th>描述</th>
                	<td>
                    	<textarea class="textarea1" name="description">{$field.description}</textarea>
                    </td>
                </tr>
                <tr>
                    <th>内容</th>
                    <td>
                     	<keditor name="content" width='600' height='300' content='{$field.content}'/>
                    </td>
                </tr>
                <tr>
                    <th>点击数</th>
                    <td>
                       	<input type="text" class='input1' name="click" value="{$field.click}"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class='submit_wrap'>
           	<input type="submit" class="bt1" value="修改"/>
        </div>
    </form>
</body>
</html>